<!DOCTYPE html>
<script src="../../resources/check-layout.js"></script>
<p>There should be no red this page.</p>
<div style="display:-webkit-box; width:200px; background:red;">
    <div style="position:relative;">
        <div id="abspos" data-expected-height="200" style="position:absolute; left:0; top:0; width:200px; height:100%; background:lime;"></div>
    </div>
    <div style="height:200px;"></div>
</div>
<p id="result"></p>
<script>
    checkLayout('#abspos', document.getElementById("result"));
</script>
